package us.wili.dev.dao.mapper.base;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import us.wili.dev.model.entity.Shipaddress;
import us.wili.dev.model.example.ShipaddressExample;

public interface BaseShipaddressMapper {
    int insert(Shipaddress record);

    int batchInsert(List<Shipaddress> records);

    int insertSelective(Shipaddress record);

    int deleteByExample(ShipaddressExample example);

    int deleteByPrimaryKey(Long id);

    long countByExample(ShipaddressExample example);

    int updateByExampleSelective(@Param("record") Shipaddress record, @Param("example") ShipaddressExample example);

    int updateByPrimaryKey(Shipaddress record);

    int updateByPrimaryKeySelective(Shipaddress record);

    Shipaddress selectByPrimaryKey(@Param("id") Long id, @Param("columns") String... columns);

    Shipaddress selectByPrimaryKeyForUpdate(@Param("id") Long id, @Param("columns") String... columns);

    Shipaddress selectByPrimaryKeyInShareMode(@Param("id") Long id, @Param("columns") String... columns);

    List<Shipaddress> selectByExample(ShipaddressExample example);

    Shipaddress selectOneByExample(ShipaddressExample example);
}